/**
 * Created by Administrator on 2015/11/26.
 */
var mybeOneOneSecondLater = function(){
    var callback;
    setTimeout(function(){
        callback(1);
    },1000);
    return {
        then:function(_callback){
            callback = _callback;
        }
    }
};
//mybeOneOneSecondLater().then(console.log);
function t(data){
    console.log('+++'+data+'+++');
}
mybeOneOneSecondLater().then(t);

